<!--#include("_tool_header.html")-->
<!--%import("css/pagination.css",optimized=false)-->
	
			<!-- Content -->
			<div id="content">
				
				<!-- contentHeader -->
				<div class="contentHeader trackbackHeader lineBottom">
					<h3 class="h3">{$lang->textyle_second_menus[2]['dispTextyleToolCommunicationTrackback']}</h3>
				</div>
				<!-- /contentHeader -->
				
				<!-- listHeader -->
				<div class="listHeader">
					<p class="info"> <!--@if($search_keyword)-->{sprintf($lang->search_result_count,$page_navigation->total_count)}<!--@else-->{sprintf($lang->total_result_count,$page_navigation->total_count)}<!--@end--></p>
					<fieldset class="search">
						<legend>{$lang->cmd_search}</legend>
						<form action="{Context::getRequestUri()}">
							<input type="hidden" name="act" value="{$act}" />
							<input type="hidden" name="vid" value="{$vid}" />
							<input type="hidden" name="mid" value="{$mid}" />
							<input type="hidden" name="search_target" value="excerpt" />
							<input name="search_keyword" type="text" title="{$lang->cmd_search}" value="{$search_keyword}" class="inputText" />
							<span class="buttonGray medium"><input type="submit" value="{$lang->cmd_search}" /></span>
						</form>
					</fieldset>
				</div>
				<!-- /listHeader -->
				
				<!-- Table Data -->
				<fieldset>
					<legend>{$lang->manage_trackback}</legend>
					<form action="" method="post">
						<table border="1" cellspacing="0" summary="{$lang->document_list}" class="tableData">
							<thead>
								<tr>
									<th scope="col">
										<input type="checkbox" name="" class="inputCheck" onclick="jQuery('input.boxlist').click()" />
									</th>
									<th scope="col" class="half">{$lang->trackback}</th>
									<th scope="col" class="half">{$lang->trackback_site}</th>
									<th scope="col">{$lang->regdate}</th>
									<th scope="col">{$lang->cmd_deny}</th>
									<th scope="col">{$lang->cmd_delete}</th>
								</tr>
							</thead>
							<tbody>

								<!--@if(count($trackback_list)==0)-->								
								<tr>
									<td class="noData" colspan="6"><p>{$lang->no_trackback}</p></td>
								</tr>
								<!--@else-->
									<!--@foreach($trackback_list as $no => $trackback)-->
									<tr>
										<td>
											<input type="checkbox" name="trackback_srl" value="{$trackback->trackback_srl}"  class="inputCheck boxlist" />
										</td>
										<td class="half"><a href="{getSiteUrl($textyle->domain,'','document_srl',$trackback->document_srl)}#trackback_{$trackback->trackback_srl}" onclick="window.open(this.href); return false;" class="original">{$document_items[$trackback->document_srl]->getTitle()}</a></td>
										<td class="half">
											<p class="trackbackIn"><a href="{$trackback->url}" target="_blank">{$trackback->title}</a></p>
											<p class="trackbackAddress">{$trackback->blog_name}<span class="ipAddress">{$trackback->ipaddress}</span></p>
										</td>
										<td class="small">{zdate($trackback->regdate,'Y.m.d')}</td>
										<td>
                                        
										<span class="buttonGray small"><button type="button" onclick="openLayerAddDenyItem('{$trackback->trackback_srl}','_addDenyTrackbackList')">{$lang->cmd_deny}</button></span><br />
										<td><button type="button" onclick="if(confirm('{$lang->confirm_delete}')) deleteTrackbackItem({$trackback->trackback_srl},{$page_navigation->cur_page});return false;" class="buttonTableData"><span>{$lang->cmd_delete}</span></button></td>
									</tr>			
									<!--@end-->
								<!--@end-->
							</tbody>
						</table>
						
						<div class="listFooter">
							
							<!-- Change-->
							<div class="change">
								<p class="p1">{$lang->selected_articles}</p>
								
								<span class="buttonGray large"><button type="button" onclick="openLayerAddDeny('_addDenyTrackbackList')">{$lang->cmd_deny}</button></span>
								<span class="buttonGray large"><button type="button"><img src="img/buttonTableDataX.gif" width="7" height="7" alt="" class="icon" />{$lang->cmd_delete}</button></span>
								
							</div>
							<!-- /Change -->
							
							<!-- Pagination -->
							<div class="pagination">
								<a href="{getUrl('page','','mid',$mid)}" class="prev"><span>{$lang->first_page}</span></a>

								<!--@while($page_no = $page_navigation->getNextPage())-->
									<!--@if($page == $page_no)-->
										<strong>{$page_no}</strong> 
									<!--@else-->
										<a href="{getUrl('page',$page_no,'mid',$mid)}">{$page_no}</a> 
									<!--@end-->
								<!--@end-->

								<a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="next"><span>{$lang->last_page}</span></a>
								</div>
							<!-- /Pagination -->
							
						</div>
						
					</form>
				</fieldset>
				<!-- /Table Data -->
				
			</div>
			<hr />
			<!-- /Content -->
						
			<!-- Extension -->
				<!--#include("_tool_menu.html")-->
			<!-- Extension -->

<!--#include("_layerAddDeny.html")-->
<!--#include("_tool_footer.html")-->
